package com.llc.mall.user.application.command.commands;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.llc.mall.common.core.serializer.ImgJsonSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

public record ModifyUserCmd(
        @Schema(description = "ID")
        @NotNull
        Long userId,
        @Schema(description = "用户昵称")
        String nickName,
        @Schema(description = "头像图片路径")
        @JsonSerialize(using = ImgJsonSerializer.class)
        String pic) {
}
